package cn.goldgrid.web;

import java.util.Map;
/**
 * 用于封装socket返回的信息.
 * @author Administrator
 *
 */
public class JsonBean {
	/**
	 * 执行结果是否错误
	 */
	private boolean error;
	/**
	 * 执行正确时返回的信息
	 */
	private Map  properties;
	/**
	 * 执行错误时返回的信息
	 */
	private String  errorMsg;
	
	public boolean isError() {
		return error;
	}

	public void setError(boolean error) {
		this.error = error;
	}

	public Map getProperties() {
		return properties;
	}

	public void setProperties(Map properties) {
		this.properties = properties;
	}

	public String getErrorMsg() {
		return errorMsg;
	}

	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}
	
	

	

	
	

}
